<%@page import="java.util.Set"%>
<%@page import="java.util.Map"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Shipping Share :: Benvenuto!</title>
        
        <link rel="stylesheet" href="css/common.css" type="text/css"/>
        <link rel="stylesheet" href="css/header.css" type="text/css"/>
        <link rel="stylesheet" href="css/form.css" type="text/css"/>
	<link rel="stylesheet" href="css/annuncio.css" type="text/css"/>
	<link rel="stylesheet" href="css/footer.css" type="text/css"/>
        <link rel="stylesheet" href="css/popup.css" type="text/css"/>
        <link rel="stylesheet" href="css/profilo.css" type="text/css"/>
        <link rel="stylesheet" href="css/regioni.css" type="text/css"/>
        <script src="js/popup.js"></script>
        <script src="js/liquidCheck.js"></script>
        <script src="js/ajax.js"></script>
        
        <!-- star rating  -->
        <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
        <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
        <script src="star-rating/jquery.rating.pack.js"></script>
        <script src="star-rating/jquery.MetaData.pack.js"></script>
        <link rel="stylesheet" href="star-rating/jquery.rating.css" type="text/css"/>
    </head>
	
    <body onload="document.forms['openid-form-redirection'].submit();">
        
        <div id="popupContainer">
        </div>
        
        <div id="wholeContainer">
	<div id="whole">
            
            <!-- includo l'header -->
           
            <div id="headerContainer">
                <jsp:include page="../jspf/header.jsp" />
            </div>
            
            <div id="bodyContainer">
                
                <div>
                    
                    <form name="openid-form-redirection" action="<%= request.getAttribute("destinationUrl") %>" method="post" accept-charset="utf-8">
                        <%
                            Map pm = (Map)request.getAttribute("parameterMap");
                            Set<Map.Entry<String, String>> entries = pm.entrySet();
                            for (Map.Entry<String, String> entry: entries){
                        %>
                                <input type="hidden" name="<%= entry.getKey() %>" value="<%= entry.getValue() %>"/>
                        <%
                            }
                        %>
                        <button type="submit">Continua...</button>
                    </form>
                    
                </div>
                                            
            </div> <!-- bodyContainer -->
			
            <!-- includo il footer -->
            <jsp:include page="../html/footer.html" />
            
            
        		
        </div> <!-- whole -->
        
        </div>
        
        
        
    </body>
	
</html>

